package com.agent.action;

import com.agent.commons.config.MinIOConfig;
import com.agent.commons.utils.MailUtil;
import com.agent.commons.utils.MinIOUtil;
import com.agent.feign.config.DefaultFeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@SpringBootApplication
@MapperScan("com.agent.action.mapper")
@ComponentScan(basePackages = {"com.agent.commons","com.agent.action"},
excludeFilters = @ComponentScan.Filter (type = FilterType.ASSIGNABLE_TYPE,classes = { MailUtil.class} ))
@EnableFeignClients(basePackages = "com.agent.feign.client",defaultConfiguration = DefaultFeignConfiguration.class)
public class AgentActionApplication {

    public static void main(String[] args) {
        SpringApplication.run(AgentActionApplication.class, args);
    }

}
